#include <core.p4>

#define NULL(s)

NULL("111")

typedef bit<4> PortId;
const PortId REAL_PORT_COUNT = 4w8;
struct InControl {
    PortId inputPort;
}

const PortId RECIRCULATE_IN_PORT = 0xd;
const PortId CPU_IN_PORT = 0xe;
struct OutControl {
    PortId outputPort;
}

const PortId DROP_PORT = 0xf;
const PortId CPU_OUT_PORT = 0xe;
const PortId RECIRCULATE_OUT_PORT = 0xd;
parser Parser<H>(packet_in b, out H parsedHeaders);
control Pipe<H>(inout H headers, in error parseError, in InControl inCtrl, out OutControl outCtrl);
control Deparser<H>(inout H outputHeaders, packet_out b);
package VSS<H>(Parser<H> p, Pipe<H> map, Deparser<H> d);
extern Ck16 {
    Ck16();
    void clear();
    void update<T>(in T data);
    bit<16> get();
}

const bit<256> hex61 = 0x123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd;
const bit<256> hex62 = 0x123456789abcdef0123456789abcdef0123456789abcdef0123456789abcde;
const bit<256> hex64 = 0x123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0;
const bit<256> hex64 = 0b01011010;
NULL(0b102);
NULL(1w1);
NULL(1w0x1);
NULL(8w0x101);  // right hex
NULL(8w0b101);  // right bin
NULL(0x8w0b101);
NULL(0b10w0b101);
NULL(8w0x101);  // right hex
NULL(8w0b1_01);  // right bin with _
NULL(100.1001);